GetDeviceInfo. Get device information.

Request

<?xml version="1.0" encoding="utf-8"?>

<sdk guid="##GUID">

<in method="GetDeviceInfo"/>

</sdk>

 

<!--

Description:

    1. Sdk.guid is the guid value obtained through the negotiation of the SDK protocol version.

-->

Respond

<?xml version="1.0" encoding="utf-8"?>

<sdk guid="##GUID">

<out method="GetDeviceInfo" result="##result">

<device cpu="##value" model="##value" id="##value" name="##value"/>

<version fpga="##value" app="##value" kernel="##value"/>

<screen width="##value" rotation="##value" height="##value"/>

</out>

</sdk>

 

<!--

Description:

    1. Sdk.guid is the guid value obtained through the negotiation of the SDK protocol version.

    2. out.method ="GetDeviceInfo"

3. out.result (The error code refers to ErrorCode.)

4. out.result : When the value is not "kSuccess", out has no child nodes.

    5. device.cpu: Cpu type, value range {"Freescale.iMx6", "TI.335x", "ZTE.902c"}.

6. device.model: Device type name.

7. device.id: device ID

    8. device.name: device name

    9. version.fpga: fpga version

    10.version.app: ower machine firmware version number.

    11.version.kernel: kernel version

    12.screen.width:  screen width

    13.screen.height: screen height

    14.screen.rotation: Rotate flag, range of values {"0", "90", "180", "270"}.

-->